import request from '@/utils/request'

export function getList (params) {
  return request({
    url: '/order/list',
    method: 'get',
    params
  })
}

export function getDetail (params) {
  return request({
    url: '/order/detail',
    method: 'get',
    params
  })
}


export function receiveOrder (params) {
  return request({
    url: '/order/receive',
    method: 'post',
    data: params
  })
}
